﻿using System.ServiceModel;
using Common.Entities;
using Common.Enums;
using Common.ServiceResponse;

namespace AuthenticationService
{
    [ServiceContract]
    [ServiceKnownType(typeof(ResponseStatus))]
    public interface IAuthenticationService
    {
        [OperationContract]
        User LogUserIn(User user);

        [OperationContract]
        ResponseDetails RegistrateUser(User user);

        [OperationContract]
        ResponseDetails LogUserOut(User user);
    }
}
